#include <iostream>
#include <fstream>
#include "FileReader.hpp"
using namespace std;

void FileReader::loadFile(string filename)
{
    ifstream fileToRead(filename, ios::in);
    string line;
    while (getline(fileToRead, line))
    {
        content += line + "\n";
    }
    fileToRead.close();
}

void FileReader::outputContent()
{
    cout << "**************File Start******************" << endl;
    cout << content;
    cout << "**************File End******************" << endl;
}